projects
/
gpsbabel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4f65fd3
)
Add 38400 to list of potential bit rates.
author
robertl
<robertl>
Fri, 22 Dec 2006 19:15:48 +0000
(19:15 +0000)
committer
robertl
<robertl>
Fri, 22 Dec 2006 19:15:48 +0000
(19:15 +0000)
gbser_posix.c
patch
|
blob
|
history
gbser_win.c
patch
|
blob
|
history
diff --git
a/gbser_posix.c
b/gbser_posix.c
index 6e398c13f5f18c28d370e6ebb5a030f351d3aafe..69f310b30601b6c76596238fabfe435ab9a617ce 100644
(file)
--- a/
gbser_posix.c
+++ b/
gbser_posix.c
@@
-57,6
+57,7
@@
static speed_t mkspeed(unsigned br) {
case 4800: return B4800;
case 9600: return B9600;
case 19200: return B19200;
+ case 38400: return B38400;
#if defined B57600
case 57600: return B57600;
#endif
diff --git
a/gbser_win.c
b/gbser_win.c
index 145969e36a979cec224c73bc6700a3b3a6b59740..c1a05269c3393bee2f8aa265ec8ca549330f6c8f 100644
(file)
--- a/
gbser_win.c
+++ b/
gbser_win.c
@@
-54,6
+54,7
@@
static DWORD mkspeed(unsigned br) {
case 4800: return CBR_4800;
case 9600: return CBR_9600;
case 19200: return CBR_19200;
+ case 38400: return CBR_38400;
case 57600: return CBR_57600;
case 115200: return CBR_115200;
default: